Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> div { width: 100px; height: 75px; background-color: red; border: 1px solid black; } div#div2 { -webkit-transform: rotateX(120deg); /* Chrome, Safari, Opera */ transform: rotateX(120deg); /* Standard syntax */ } </style> </head> <body> <p><b>Note:</b> Internet Explorer 9 (and earlier versions) does not support the rotateX method.</p> <div>Hello. This is a DIV element.</div> <div id="div2">Hello. This is a DIV element.</div> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss3_transform_rotatex by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:53 GMT --> </html>
Result:
Try it Yourself - © w3schools.com